package com.toutiao.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.toutiao.dao.model.NewsPraise;
import com.toutiao.dao.model.NewsPraiseExample;

public interface NewsPraiseMapper {
	int countByExample(NewsPraiseExample example);

	int deleteByExample(NewsPraiseExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(NewsPraise record);

	int insertSelective(NewsPraise record);

	List<NewsPraise> selectByExample(NewsPraiseExample example);

	NewsPraise selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") NewsPraise record, @Param("example") NewsPraiseExample example);

	int updateByExample(@Param("record") NewsPraise record, @Param("example") NewsPraiseExample example);

	int updateByPrimaryKeySelective(NewsPraise record);

	int updateByPrimaryKey(NewsPraise record);

}
